package com.ah.shanxi_demo.sync.model;

/**
 * 入侵防范类
 * @author zt 2020/8/20
 */
public class ALM012 {

    //动作 针对事件所采取的动作 0 未阻断也未告警
    //1 未阻断但告警
    //2 阻断但没有告警
    //3 阻断且告警
    private String action;
    //源 IP
    private String sip;
    //源端口
    private String sport;
    //目的 IP
    private String dip;
    //目的端口
    private String dport;
    //源 MAC
    private String smac;
    //目的 MAC
    private String dmac;
    //事件名称
    private String event_name;
    //Vlan id
    private Integer vid;
    //攻击次数
    private Integer lasttimes;
    //攻击发生时间
    private String date;
    //原始信息长度
    private Integer rawlen;
    //原始包信息 数据包的 base64 编码
    private String rawinfo;
    //事件结果 成功或失败
    //attack return 攻击是
    //否成功 1-成功 2-失败 3-未知
    private Integer ar;
    //协议编码信息 协议解码信息的 base64编码，包含协议类型和URI 信息
    private String ds;
    //网卡名 攻击事件发起后进入的网络接口名称
    private String card;
    //用户名 关联用户认证 后，入侵事件识别到的 用户名称。
    private String user;

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getSip() {
        return sip;
    }

    public void setSip(String sip) {
        this.sip = sip;
    }

    public String getSport() {
        return sport;
    }

    public void setSport(String sport) {
        this.sport = sport;
    }

    public String getDip() {
        return dip;
    }

    public void setDip(String dip) {
        this.dip = dip;
    }

    public String getDport() {
        return dport;
    }

    public void setDport(String dport) {
        this.dport = dport;
    }

    public String getSmac() {
        return smac;
    }

    public void setSmac(String smac) {
        this.smac = smac;
    }

    public String getDmac() {
        return dmac;
    }

    public void setDmac(String dmac) {
        this.dmac = dmac;
    }

    public String getEvent_name() {
        return event_name;
    }

    public void setEvent_name(String event_name) {
        this.event_name = event_name;
    }

    public Integer getVid() {
        return vid;
    }

    public void setVid(Integer vid) {
        this.vid = vid;
    }

    public Integer getLasttimes() {
        return lasttimes;
    }

    public void setLasttimes(Integer lasttimes) {
        this.lasttimes = lasttimes;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Integer getRawlen() {
        return rawlen;
    }

    public void setRawlen(Integer rawlen) {
        this.rawlen = rawlen;
    }

    public String getRawinfo() {
        return rawinfo;
    }

    public void setRawinfo(String rawinfo) {
        this.rawinfo = rawinfo;
    }

    public Integer getAr() {
        return ar;
    }

    public void setAr(Integer ar) {
        this.ar = ar;
    }

    public String getDs() {
        return ds;
    }

    public void setDs(String ds) {
        this.ds = ds;
    }

    public String getCard() {
        return card;
    }

    public void setCard(String card) {
        this.card = card;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }
}
